package com.example.inter.tourdemo.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.inter.tourdemo.R;
import com.example.inter.tourdemo.bean.ClassifyLeftBean;

import java.util.List;

/**
 * 地方特产 适配器 左列表
 * @author zhaoyu
 * @date 2017/2/12.
 */

public class ClassifyAdapterLeft extends BaseQuickAdapter<ClassifyLeftBean, BaseViewHolder> {

    List mClassifyLeftList ;

    public ClassifyAdapterLeft(int layoutResId, List data) {
        super(layoutResId, data);
        mClassifyLeftList=data;
    }

    @Override
    protected void convert(BaseViewHolder helper, ClassifyLeftBean bean) {
        helper.setText(R.id.tv_left_name,bean.classifyLeftName);
    }
}
